﻿$(document).ready(function(){
    //$(document).ready(function () {
    //    var x = 0;
    //    $("#qx").click(function () {
    //        window.location = "Default.Aspx#2/2.1";
    //        x = 1;
    //        return;
    //    });
    //    if (x == 1) { } else {
    //        window.location = "Default.Aspx#1/1.1";
    //    }

    //});

});

//打开新网页
function openWin(u, w, h) {
    var l = (screen.width - w) / 2;
    var t = (screen.height - h) / 2;
    var s = 'width=' + w + ', height=' + h + ', top=' + t + ', left=' + l;
    s += ', toolbar=no, scrollbars=no, menubar=no, location=no, resizable=no';
    open(u, 'oWin', s);
}
//删除被点击的一行
function DelTr(url, tr, x, y) {
    $.ajax({
        type: "Get",
        url: url,
        success: function (data) {
            tr.remove();
            alert(x + data + y);
        }
    });
}


